<?php
    $contact = config::get('contact');
?>
<script src="/js/private/contact.js" type="text/javascript"></script>
<div class="rt-container">
    <div class="rt-grid-12 ">
        <div class="rt-block">
            <div id="rt-mainbody">
                <div class="component-content">
                    <div class="contact">
                        <h1>Liên hệ với chúng tôi</h1>
                        <div id="contact-form-cont">
                            <div class="contact-form">
                                <form id="contactform" name="contactform" action="/contact/index/save" method="post" class="form-validate">
                                    <fieldset>
                                        <legend>Để gửi một thông tin. Những trường có dấu * là bắt buộc.</legend>
                                        <dl>
                                            <dt>
                                                <label id="jform_contact_name-lbl" for="jform_contact_name" class="hasTip required" title="Name::Your name">Tên<span class="star">&#160;*</span></label>
                                            </dt>
                                            <dd>
                                                <input type="text" name="NAME" id="jform_contact_name" value="" class="required" size="30"/>
                                            </dd>
                                            <dt>
                                                <label id="jform_contact_email-lbl" for="jform_contact_email" class="hasTip required" title="Email::Email for contact">Email<span class="star">&#160;*</span>
                                                </label>
                                                </dt>
                                            <dd>
                                                <input type="text" name="EMAIL" class="validate-email required" id="jform_contact_email" value="" size="30"/>
                                            </dd>
                                            <dt>
                                                <label id="jform_contact_emailmsg-lbl" for="jform_contact_emailmsg" class="hasTip required" title="Subject::Enter the subject of your message here .">Tiêu đề<span class="star">&#160;*</span></label>
                                            </dt>
                                            <dd>
                                                <input type="text" name="TITLE" id="jform_contact_emailmsg" value="" class="required" size="60"/>
                                            </dd>
                                            <dt>
                                                <label id="jform_contact_message-lbl" for="jform_contact_message" class="hasTip required" title="Message::Enter your message here.">Nội dung<span class="star">&#160;*</span>
                                                </label>
                                            </dt>
                                            <dd>
                                                <textarea name="CONTENT" id="jform_contact_message" cols="50" rows="10" class="required"></textarea>
                                            </dd>
                                            <dt>
                                                <label id="jform_contact_email_copy-lbl" for="jform_contact_email_copy" class="hasTip" title="Send copy to yourself::Sends a copy of the message to the address you have supplied.">Gửi cho tôi một bản</label>
                                            </dt>
                                            <dd>
                                                <input type="checkbox" name="jform[contact_email_copy]" id="jform_contact_email_copy" value=""/>
                                            </dd>
                                            <dt></dt>
                                            <dd>
                                                <button name="SEND" class="button validate" type="submit">Gửi thông tin</button>
                                            <input type="hidden" name="option" value="com_contact" />
                                            <input type="hidden" name="task" value="contact.submit" />
                                            <input type="hidden" name="return" value="" />
                                            <input type="hidden" name="id" value="1:contacts" />
                                            <input type="hidden" name="98b7641b6b94d2a0d90bfbf80168419c" value="1" />				</dd>
                                        </dl>
                                    </fieldset>
                                </form>
                            </div>
                        </div>
                        <div id="contact-address">
                            <div class="map-wrapper">
                                <div id="map">
                                    <div class="moduletable">
                                        <div id="map" style="margin-left:auto;margin-right:auto;text-align:center;width: 400px; height: 260px">
                                        </div>		
                                    </div>
                                </div>
                            </div>
                            <div class="contact-contactinfo">
                            </div>
                            <div class="contact-miscinfo">
                                <h3>Các thông tin khác</h3>
                                <div class="jicons-icons">
                                    <img src="http://images.livedemo00.template-help.com/joomla_38716/media/contacts/images/con_info.png" alt="Other information: "  />
                                </div>
                                <div class="contact-misc">
                                    <p><?=$contact['nameshop']?>,<br /> 
                                    <?=$contact['city']?><br /> 
                                    Freephone: <?=$contact['phone']?><br /> 
                                    Telephone: +1 959 603 6035<br /> 
                                    FAX: +1 504 889 9898<br /> 
                                    E-mail: <a href="mailto:<?=$contact['email']?>"><?=$contact['email']?></a>
                                    </p>

                                    <p><?=$contact['nameshop']?>, <br /> 
                                    <?=$contact['city']?><br /> 
                                    Freephone: <?=$contact['phone']?><br /> 
                                    Telephone: +1 959 603 6035<br /> 
                                    FAX: +1 504 889 9898<br /> 
                                    E-mail: <a href="mailto:<?=$contact['email']?>"><?=$contact['email']?></a>
                                    </p>					
                                </div>
                            </div>
                        </div>
                        <div class="clr"></div>    
                    </div>
                </div>
            </div>
        </div>
    </div>                
   <div class="clear"></div>
</div>
<script> 
    if('1' =='<?=$this->sucess?>'){
        alert("Thông tin đã được gửi đi thành công");
    }
</script>
<!--
<div id="contentcolumn" class="left">
   
			<div id="googlemaps"><div id="googlemap"></div></div>
			
			<div class="editorarea">
                <div class="full_text">
                    <div class="onehalf_text_last">
                    	
                        <table class="contacttable">
                            <tr>
                                <th>Trụ sở chính</th>
                                <td><?=$contact['nameshop']?></td>
                            </tr>
                            <tr>
                                <th>Địa chỉ :</th>
                                <td><?=$contact['address']?></td>
                            </tr>
                            <tr>
                                <th>Thành phố :</th>
                                <td><?=$contact['city']?></td>
                            </tr>
                            <tr>
                                <th>Điện thoại :</th>
                                <td><?=$contact['phone']?></td>
                            </tr>
                            <tr>
                                <th>Email :</th>
                                <td><?=$contact['email']?></td>
                            </tr>
                            <tr>
                                <th>Tài khoản ủng hộ :</th>
                                <td><?=$contact['card']?></td>
                            </tr>
                        </table>
                    </div>
                    <br style="clear: left" />
                </div>
                <div class="contentdivider"></div>
                <br style="clear: left" />
            </div>
            
            <div id="contactus">
                <form id="contactform" name="contactform" method="post" action="/contact/index/save">
                    <div class="formpart">
                        <label for="contact_name">Họ và tên của bạn <span>(*)</span></label><!--<span>(bắt buộc)</span>
                        <p><input type="text" name="NAME" id="contact_name" value="" class="requiredfield" /></p>
                    </div>	
                    <div class="formpart end">
                        <label for="contact_email">Email của bạn</label>
                        <p><input type="text" name="EMAIL" id="contact_email" value="" class="requiredfield" /></p>
                    </div>	
                    <div class="formpart">
                        <label for="contact_adress">Địa chỉ của bạn</label>
                        <p><input type="text" name="ADDRESS" id="contact_adress" value=""/></p>
                    </div>	
                    <div class="formpart end">
                        <label for="contact_phone">Điện thoại của bạn</label>
                        <p><input type="text" name="PHONE" id="contact_phone" value="" class="requiredfield"/></p>
                    </div>
                    <div class="formpart end">
                        <label for="contact_tilte">Tiều đề cần gửi</label>
                        <p><input type="text" name="TITLE" id="contact_tilte" value="" style="width:543px"/></p>
                    </div>
                    <div class="formpart">
                        <label for="contact_message">Nội dung cần gửi<span>(*)</span></label>
                        <p><textarea name="CONTENT" id="contact_message" class="requiredfield"></textarea></p>
                    </div>			
                    <div class="formpart button">
                        <input type="button" name="SEND" class="sendcontact rounded" value="Gửi tin nhắn">
                    </div>
                    <div class="formpart">
                        <span class="successmessage" id="msgContact">Tin nhắn gửi thành công</span>
                    </div>
                </form>
            </div>
   
<br style="clear: left" />	            
</div>
	        
	        
<div class="sidebar right">
</div>
-->